<?php



class VReceivablesMapBuilder implements MapBuilder {

	
	const CLASS_NAME = 'lib.model.map.VReceivablesMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap(VReceivablesPeer::DATABASE_NAME);

		$tMap = $this->dbMap->addTable(VReceivablesPeer::TABLE_NAME);
		$tMap->setPhpName('VReceivables');
		$tMap->setClassname('VReceivables');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('IDEN1', 'Iden1', 'VARCHAR', true, 20);

		$tMap->addPrimaryKey('DOCUMENT_IDEN', 'DocumentIden', 'VARCHAR', true, 20);

		$tMap->addColumn('CREDIT', 'Credit', 'DOUBLE', false, null);

		$tMap->addColumn('DEBIT', 'Debit', 'DOUBLE', false, null);

	} 
} 